package com.javacrafting.mifos.web;

import java.util.ArrayList;
import java.util.List;

public class LoanAccountFormCommand {

	private Integer customerId;
	private Short loanProductId;
	private Double amount = Double.valueOf(500);
	private Double interestRate = Double.valueOf(3.3);
	private Integer numOfInstallments = Integer.valueOf(52);
	private String disbursalDate;
	private Integer gracePeriodForRepayments = Integer.valueOf(0);
	private Integer sourceOfFundId = Integer.valueOf(-1);
	private Integer purposeOfLoan = Integer.valueOf(646); // materials purchase
	private Integer collateralType = Integer.valueOf(649); // none
	private String collateralNotes;
	private List<Integer> standardFees = new ArrayList<Integer>();

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public Short getLoanProductId() {
		return loanProductId;
	}

	public void setLoanProductId(Short loanProductId) {
		this.loanProductId = loanProductId;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(Double interestRate) {
		this.interestRate = interestRate;
	}

	public Integer getNumOfInstallments() {
		return numOfInstallments;
	}

	public void setNumOfInstallments(Integer numOfInstallments) {
		this.numOfInstallments = numOfInstallments;
	}

	public String getDisbursalDate() {
		return disbursalDate;
	}

	public void setDisbursalDate(String disbursalDate) {
		this.disbursalDate = disbursalDate;
	}

	public Integer getGracePeriodForRepayments() {
		return gracePeriodForRepayments;
	}

	public void setGracePeriodForRepayments(Integer gracePeriodForRepayments) {
		this.gracePeriodForRepayments = gracePeriodForRepayments;
	}

	public Integer getPurposeOfLoan() {
		return purposeOfLoan;
	}

	public void setPurposeOfLoan(Integer purposeOfLoan) {
		this.purposeOfLoan = purposeOfLoan;
	}

	public Integer getCollateralType() {
		return collateralType;
	}

	public void setCollateralType(Integer collateralType) {
		this.collateralType = collateralType;
	}

	public String getCollateralNotes() {
		return collateralNotes;
	}

	public void setCollateralNotes(String collateralNotes) {
		this.collateralNotes = collateralNotes;
	}

	public List<Integer> getStandardFees() {
		return standardFees;
	}

	public void setStandardFees(List<Integer> standardFees) {
		this.standardFees = standardFees;
	}

	public Integer getSourceOfFundId()
	{
		return sourceOfFundId;
	}

	public void setSourceOfFundId(Integer sourceOfFundId)
	{
		this.sourceOfFundId = sourceOfFundId;
	}
}
